package cn.thornbird.orgsync.exception;

import org.springframework.http.HttpStatus;

public class NotFoundException extends HttpException {

    private static final long serialVersionUID = 2381275831044236815L;

    public NotFoundException() {
        super(HttpStatus.NOT_FOUND.getReasonPhrase());
        statusCode = HttpStatus.NOT_FOUND.value();
    }

    public NotFoundException(String message) {
        super(message);
        statusCode = HttpStatus.NOT_FOUND.value();
    }

}
